export enum AsgardState {
  READY, //就绪,初始状态
  DISCONNECT, // 断开连接
  CONNECTIONERROR,//连接错误
  RECOVERYFAILED,    //恢复失败
  RECOVERING, //恢复中,等于连接被断开,但是恢复成功后数据将恢复,不会丢失数据
  CONNECTING, //连接中
  CONNECTED, //连接成功
}
export interface Notify<T extends {route: string, body: string}> {
  '@type': string
  data: T
  message: string
}
